import http from '@/services/index.js'

export const fetchCode2Session = (data) => http.get('/wx/code2Session', data, {
	noToken: true
})


export const fetchGetPhone = (data) => http.get('/wx/getPhone', data)

export const archivesById = (data) => http.get('/archives/getById', data)

export const dynamicsList = (data) => http.get('/dynamics/getDataList', data)

export const browseList = (data) => http.get('/browse/getDataList', data)

export const updateInfo = (data) => http.post('/archives/updateInfo', data)

export const feedbackAdd = (data, option) => http.post('/feedback/add', data, option)

export const getDataListByCodes = (data) => http.get(
	'https://micro.xunzhaotech.com/api/system/parentDictionaries/getDataListByCodes', data)
